#while循环打印九九乘法表2
i=1;k=8
while i<=9:
    j=1
    print(' '*k*7,end='')
    while j<=i:
        print('{}*{}={:<2}'.format(i,j,i*j),end=' ')
        j+=1
    k-=1
    print('')
    i+=1
print('='*62)
a=9;c=0
while a>=1:
    b=1
    print(' '*7*c,end='')
    while b<=a:
        print('{}*{}={:<2}'.format(a,b,a*b),end=' ')
        b+=1
    c+=1
    print('')
    a-=1


